added test coverage changePassword