add unit/integrted tests for dpc

To check, the expected input is expected to be ints?