add unit/integrted tests for dpc

probably more efficient to take the real value after you slice it