The tests mock the mogoose User model and the express Response model which isn't good. We should find a solution that makes use of the actual model object.