Uom class with tests