add unit/integrted tests for dpc

Don't you have this anyway just by asking the input images?