Test undo/redo in Unlink test.