Add tests for ResponsiveMiddleware