Tweak the way we set initial text in testing framework
Do not merge overlapping selections in InputMode::Replace

Fixes #237