Fix regressions in the Matrix tests from basechat changes.
Review Request #12857 — Created March 1, 2023 and submitted
Several months ago, the basechat support was improved to include body
content in more situations and to avoid a crash. The Matrix tests
weren't updated appropriately, causing a few failures in assertions for
This updates the unit tests to pass with the modern content.
Unit tests pass.