public void executeQueryWithCount() throws Exception {
    String[] queries = {"520"};
    for (Object result : utils.executeQueries(queries)) {
      if (result instanceof Collection) {
        for (Object e : (Collection) result) {
          if (e instanceof Integer) {
            assertEquals(10, ((Integer) e).intValue());
          }
        }
      }
    }
  }
Tests adding entries to compact range index where there are undefined and null values
for the key
geode-core/src/integrationTest/java/org/apache/geode/cache/query/internal/index/CompactRangeIndexJUnitTest.java