tests for undo redo
fixed tests