Added tests for the pcp::unit class.
Added some constness.