Add test coverage for rich text strategy