[PATCH 1/3 resend] riched20/tests: Add helpers for simplifying tests of ITextRange and ITextSelection.