Add some test case to Undo test unit.