test undo commit