add unit/integrted tests for dpc

We can try simple synthetic data instead of real image to do the test. For instance, if you assume both ref and im are just 2D array with constant as one, for instance np.ones([50,50]), the phi should be zero(if I didn't make mistake)? That's a simple test with output predictable.