@Override
      public void run2() throws CacheException {
        Region region = getRootRegion().getSubregion(name);
        String[] queryStrings = {"id<9", "selection<9", "important<9", "\"select\"<9"};
        for (final String queryString : queryStrings) {
          SelectResults results = null;

          try {
            results = region.query(queryString);
          } catch (Exception e) {
            Assert.fail("Failed executing " + queryString, e);
          }
          assertEquals(9, results.size());
          String msg = "results expected to be instance of ResultsBag,"
              + " but was found to be is instance of '";
          assertTrue(msg + results.getClass().getName() + "'", results instanceof ResultsBag);
          assertTrue(results.asList().get(0) instanceof TestObject);
        }
      }
This the dunit test for the bug no : 36434
geode-core/src/distributedTest/java/org/apache/geode/cache/query/dunit/RemoteQueryDUnitTest.java