Some helper classes for writing functional tests in Symfony2