Fixed FunctionalTestCase class