Fixed tests for symfony 2.5