spec: tests for unit of measures controller