feat(Query/query): add validations for searchQuery spec
test(Query/query): add test suite