tests: integration for most middleware