Oh, I had changed the implementation of `testify.shouldErr()` to check for a status code in `res` so that it would appropriately test HTTP responses. That meant it could no longer be used in testing middleware, since there's no `res` object passed to the callback if there's an error.