testcases for QuerySome
add declraration for QueryEach,QuerySome and QueryEvery