Rewrite resetPass tests.