add unit/integrted tests for dpc

Parameters that are optional need to be marked as such in the docstring.