add feature test for reset password function