tests for password change
code for password change