Simplify tests by moving req and res to beforeEach.