Moved `HistoryRequestMiddleware` to specific test