Use mspace to avoid small width difference.
Add form=infix to plus signs since mtext is spacel-like, leading to form=prefix for these.
Change reftest to mpadded to avoid small pixel differences.
Move 'Fail' message to thr gith slightly to avoid pixels at the left of the red box from the serifs on the 'F'.