Database Appointment Tests fix