add unit/integrted tests for dpc

I don't understand why "probably should also pad to final size to be a power of 2." I don't see such requirement either from the DFT theory nor from the Numpy implementation.