fixed a test for Symfony >= 2.3