Fix tests for symfony 2.7.x-dev