assertFalse(c.next());
assertEquals("test", c.get());
c.commit();
assertEquals("", c.get());
assertTrue(c.prev());
assertEquals("test", c.get());
assertFalse(c.prev());
assertEquals("test", c.get());
assertFalse(c.next()); //the 'current' buffer doesn't enter the history
assertEquals("test", c.get());