add unit/integrted tests for dpc

Is the different sign intentional?