Allow request.params in MockRequest

This fixes test_url after the parent commit.