Fixed failing test for Symfony 2.2.