Fix tests for Symfony 2.2
Merge pull request #43 from rmsint/fix_tests

Fix tests for Symfony 2.2