add unit/integrted tests for dpc

Does this look ok in the html docs?  I suspect you want to put in some more blank lines.