public void testHTTPGetHTMLContent() throws Exception {
//Initialize the variable
XdmVariable[] variables = new XdmVariable[] {
ValueFactory.newVariable(new XName("url"), ValueFactory.newXSString(sampleURL1))};
ResultSequence rs = this.executeMainModule(modulePath, null, variables);
String q = "fn:doc('" + sampleURL1 + "')//*:title/text()";
ResultSequence rs2 = executeQuery(q, null, null);
String qStr = rs2.asString();
System.out.println(rs.asString());
System.out.println(qStr);
assertEquals("Star Wars - Wikipedia, the free encyclopedia", qStr);
}