tests: add more middleware tests