Add undo/redo tests for list actions and selection restoration.
Undo/Redo covers all toolbar actions. Tests included.

There are no tests for dialog actions link, image, paste and table.