test for password reset process