Add two tests, one of which currently fails.
The tests test the behavior of a selection. The failing test tests the problem described in issue 261:
When you select some text from the beginning of the first paragraph in a document and try to direct-style it, the left end of the selection creeps to the right by 1 step after the style is applied.