test-middleware works for all