added appointment is in the past test
added a few more tests