add unit/integrted tests for dpc

Where does this magic number come from?