I was trying to avoid calling middlewares in those tests, is this really needed?