cope with tests that use RequestFactory