Added test for the changePassword method.