added test to test comparing sent password reset token and generated tok...

1. Add test to ensure the token that is sent is equal to the reset password token generated in database.