add unit/integrted tests for dpc

I don't understand, generating a list of images is no harder than generating a single image.  There are also no actually tests in this function and if you are passing in 'live' data, you _don't_ know what the correct answer is.  If you use synthetic data you can analytically compute what the answer should be.