Fixed failing tests on older versions of Symfony
Updated travis.yml