fdo#74323: Add unit test for changing cases of text cells.

Change-Id: I858e18a03d97434275676e771d91bdf3209f63fb
fdo#74323: The end position is inclusive.

Change-Id: Ibd0ff19d7fd2de72a3b8d790a371da4b23df38c8