Added tests for the UndoStack mixin.