add unit/integrted tests for dpc

Yes, it is, they are assumed to be the same. In practice, there are small difference between fitted _a by line 413 and line 414. _a is not used in the final phase reconstruction process and overwriting it or not doesn't matter.