Added tests for save undo and redo