Added a UndoRedoProcessor test case