fix tests: use DummyRequest in a more compatible way