add unit/integrted tests for dpc

OK