A few improvements to gcode placeholder tests.
Merge pull request #2090 from sapir/improve_placeholder_tests

A few improvements to gcode placeholder tests.