add unit/integrted tests for dpc

It might be worth creating ROI slice objects up here as they are used 3 times and are pretty ugly.