tests: improve test for rich text

Non-shared strings go another route, so test that too.
xlsx: improve rich text import.