Added test for changing password, and a small fix
Added test for updating user profile