Add test for issue #mathjax/820.