public void testEmptyDatabase() throws Exception {
executeLibraryModule(modulePath, moduleNamespace, "emptyDatabase");
// Verify update by running a query
String q = "fn:count(fn:doc())";
ResultSequence rs = this.executeQuery(q, null, null);
XSInteger qResult = (XSInteger)rs.itemAt(0);
assertEquals(getName(), 0, qResult.asPrimitiveInt());
}