Fixed tests for symfony 2.5
minor #45 Fixed tests for symfony 2.5 (lyrixx)

This PR was squashed before being merged into the 2.x-dev branch (closes #45).

Discussion
----------

Fixed tests for symfony 2.5

Commits
-------

41bba02 Fixed tests for symfony 2.5