pkg/units: Unit constants directly int64

int64 seems sufficient
pkg/units: Updated tests with unit constants

Also, now that I was at it, gave them a small refactor.