added confirmEmail and resetPassword tests