Added DatabaseAppointment unit tests