Added dummy tests for middleware