add unit/integrted tests for dpc

It is also not clear to me that snarfing the error is the right thing, if the user has passed in bogus ROI my inclination would be for this to blow up and let the user know, rather than have it only noted in the logs or part of console output that gets ignored.