Added more tests to DatabaseAppointment