TESTS: Add tests for the static middleware.