txn.commit();
txn = Transaction.startTransaction(false);
db.update("key 1", "value 1pp");
db.update("key 1", "value 1ppp");
txn.commit();
txn = Transaction.startTransaction(true);
assertEquals(2, db.size());
assertEquals("value 2", db.get("key 2"));
assertEquals("value 1ppp", db.get("key 1"));