Move middleware tests.