/** just start the DB and create the test collection */
@BeforeClass
public static void startDB() throws ClassNotFoundException, IllegalAccessException, InstantiationException, XMLDBException {
// initialize driver
final Class<?> cl = Class.forName("org.exist.xmldb.DatabaseImpl");
final Database database = (Database) cl.newInstance();
database.setProperty("create-database", "true");
DatabaseManager.registerDatabase(database);
root = DatabaseManager.getCollection(XmldbURI.LOCAL_DB, "admin", "");
final CollectionManagementService service = (CollectionManagementService) root
.getService("CollectionManagementService", "1.0");