add unit/integrted tests for dpc

Why is the image shape passed in as a tuple and the scan rows/cols passed in separately?