add unit/integrted tests for dpc

We can simply remove the exception here.