add unit/integrted tests for dpc

Yes, the default value should be 1.