We inadvertently broke the math extension with https://gerrit.wikimedia.org/r/c/mediawiki/core/+/977312 and it turns out this wasn't caught by CI because the Math extension basically has no parser tests.
We should try to cover this gap somehow, with at least a smoke test.