@Test
public void testNewQuery() {
System.out.println("newQuery");
CommonCriteria crt = new CommonCriteria();
crt.setMaxRecords(5);
Query query = instance.newQuery(crt);
assertNotNull(query);
Result result = query.execute();
assertNotNull(result);
Iterable<Resource> resources = result.getResources();
assertNotNull(resources);
int count = 0;
for (Resource resource : resources) {