Added 5 new test cases for UndoRedoRecorder