add unit/integrted tests for dpc

the unit should be keV.