add unit/integrted tests for dpc

What is the purpose of this?