Tests undo/redo operations in the editor model.