add unit/integrted tests for dpc

Units?  Why is this an integer not a float?