add unit/integrted tests for dpc

'...is None, which uses the whole image'