working on register and generatePasswordResetToken callback tests