Fix failing mathtext tests.