Appointment and unit test