add unit/integrted tests for dpc

Everywhere else, we let pixel_size be a 2 tuple because pixels are not always square.