txn.commit();
txn = Transaction.startTransaction(false);
db.insert(3, 30L);
db.insert(4, 40L);
txn.rollback();
txn = Transaction.startTransaction(true);
assertEquals(2, db.size());
assertEquals(20L, db.get(2).longValue());
assertEquals(10L, db.get(1).longValue());