Cleaned up test for akvo.rsr.middleware.get_domain.