@Override
      public Object call() throws Exception {

        QueryService remoteQueryService = null;
        // Execute query remotely
        try {
          remoteQueryService = getCache().getQueryService();
        } catch (Exception e) {
          Assert.fail("Failed to get QueryService.", e);
        }

        for (final String q : qs) {
          try {
            SelectResults sr = (SelectResults) remoteQueryService.newQuery(q).execute();
            assertEquals(5, sr.size());
          } catch (Exception e) {
            Assert.fail("Failed executing " + q, e);
          }
        }
        return null;
      }
Test to query a field that is not present in the Pdx object but is present in some other
version of the pdx instance
geode-core/src/distributedTest/java/org/apache/geode/cache/query/dunit/PdxQueryDUnitTest.java