Update test to allow for making res available in user.use()