Renamed tests.py to test_middleware