Write test for the success scenario of changing password.