Added new queries to create test appointments