fix test for symfony 2.2