A few improvements to gcode placeholder tests.

(left over from the printcpp branch)