create test for different type of queries
create test for different type of queries