Rewrote UndoRedoTest