Implemented QuantityCompanion in energy package.

also removed println's from two tests.