updated change password and associated test