Fix GridBox test failures due to TeX in a non-raw string