add new test for updatePassword