add unit/integrted tests for dpc

This does not match what is in the signature.