fixed test for password reset