add unit/integrted tests for dpc

Can you give these meaningful names?