Tests: Added cases for collapsed selection.
Styles should be fully matched before they are split (and then removed).