Updated tests.akvo.rsr.middleware.test_partner_site_router_middleware to use mock object for request and methods.