Bug fixes and additional tests for undo/redo mechanism in SubtitleList