add unit/integrted tests for dpc