Handle query parameters as array instead of in the URL
Extract mockery teardown to an abstract test class