add unit/integrted tests for dpc

Would you please describe a little more? I can't understand exactly what you mean.