testMathFragment() fix