Coding style fixes.
Small refactoring for future clarity.

* Move Request class into the test class that needs it
  and rename it to DummyRequest. This allows me to do the
  same thing for another test class and load the request
  with different data.
* Remove an unnecessary environment setting.