split out gesturing test into new test function

unit.Unit has a map for the dimensions, so the gostring for units with
multiple dimensions has multiple possible values.  I split out the only
multidimensional test to a new function.