fix tests: use DummyRequest in a more compatible way
Merge pull request #33 from warner/fix-tests

fix tests: use DummyRequest in a more compatible way