When testing middleware, it's better to create a request using `RequestFactory` and pass it through `process_request` than to invoke the entire test client. Provides more isolation.