Configuration config = new Configuration();
BrokerPool.configure(1, 5, config);
pool = BrokerPool.getInstance();
TransactionManager transact = pool.getTransactionManager();
Txn transaction = transact.beginTransaction();
broker = pool.get(pool.getSecurityManager().getSystemSubject());
Collection root = broker.getOrCreateCollection(transaction, TEST_COLLECTION_URI);
broker.saveCollection(transaction, root);