private function runTroughStep5($crawler, $client)
{
$form = $crawler->selectButton('Finish installation')->form();
$client->submit($form, array('install_login[email]' => '[email protected]', 'install_login[password][first]' => 'password', 'install_login[password][second]' => 'password'));
$crawler = $client->followRedirect();
// we should be redirected to step 6
self::assertEquals(200, $client->getResponse()->getStatusCode());
self::assertStringEndsWith('/install/6', $client->getHistory()->current()->getUri());
self::assertGreaterThan(0, $crawler->filter('h2:contains("Installation complete")')->count());
return $crawler;
}