Modified UndoManagerTest