created rspec test for appointment models method of quering appointments by clients.