fix for running functional tests with symfony2 WebTestCase