minor refactoring for AppTestFixture