database = BabuDBFactory.createBabuDB(new BabuDBConfig(baseDir, baseDir, 1, 0, 0,
SyncMode.SYNC_WRITE, 0, 0, COMPRESSION, maxNumRecs, maxBlockFileSize, !MMAP, -1, LOG_LEVEL));
Database db = database.getDatabaseManager().createDatabase("test", 2);
db.singleInsert(0, "Yagga".getBytes(), "Brabbel".getBytes(), null).get();
database.getCheckpointer().checkpoint();
byte[] result = db.lookup(0, "Yagga".getBytes(), null).get();
String value = new String(result);
assertEquals(value, "Brabbel");
db.singleInsert(0, "Brabbel".getBytes(), "Blupp".getBytes(), null).get();
result = db.lookup(0, "Brabbel".getBytes(), null).get();