add unit/integrted tests for dpc

Use synthetic data, not an image.