Minor, start test implementation of units.

Investigated Boost::Units but seemed much too complicated
for this simple task.