public function testIndex()
{
$client = static::createClient(array(), array('PHP_AUTH_USER' => 'admin', 'PHP_AUTH_PW' => 'adminpass'));
$crawler = $client->request('GET', '/unittest/extadm/de/0');
$this->assertEquals(200, $client->getResponse()->getStatusCode());
$this->assertEquals(1, $crawler->filter('head:contains("/{site}/extadm/{lang}/{tab}")')->count());
$this->assertEquals(1, $crawler->filter('body:contains("You need to enable javascript!")')->count());
}