Simplify mathml test and remove async stuff. Fixes #682