add unit/integrted tests for dpc

Better name + docstring (I really have no idea what this does yet as I have not made it that far down the code).  Users should not need to read the source to understand what an inuput is.