This test verifies that UndoManager.addItem() can be used to add undo items to the platform undo stack.