require the new middleware in tests