add unit/integrted tests for dpc

Not yet. I might make an appointment with him next week.