added tests for Query and Query.or