add unit/integrted tests for dpc

It is better to specify things like this as 0 -> no padding, 1 -> 3 padding as even numbers here are probably invalid.

You just have to do `real_pad = 2 * pad + 1`