UndoManager: more unit tests

- test group of actions (insertions/deletions between begin/end user
action).
- test modified/saved