Test for UpdateAppointment