txn.createDatabase("db1", 5);
txn.createDatabase("db1", 1, new ByteRangeComparator[] { new DefaultByteRangeComparator() });
txn.insertRecord("db1", 3, "hello".getBytes(), "world".getBytes());
txn.deleteRecord("db2", 1, "blub".getBytes());
txn.deleteDatabase("db1");
txn.insertRecord("new-database", 3, "x".getBytes(), "".getBytes());
// check transaction
assertEquals(6, txn.getOperations().size());
assertEquals(Operation.TYPE_CREATE_DB, txn.getOperations().get(0).getType());