try {
Collection testCollection = getTestCollection();
Resource doc = testCollection.createResource(MODULE8_NAME, "BinaryResource");
doc.setContent(module8);
((EXistResource) doc).setMimeType("application/xquery");
testCollection.storeResource(doc);
XPathQueryService service = (XPathQueryService) testCollection.getService("XPathQueryService", "1.0");
service.setProperty(OutputKeys.INDENT, "no");
String query = "import module namespace dr = \"double-root2\" at \"" + URI + "/test/" + MODULE8_NAME + "\";\n"
+"let $doc1 := dr:documentIn() \n"