Fixed Test Cases for Undo/Redo