remove boilerplate from primitive glyph tests