add unit/integrted tests for dpc

It is true here. For Hanfei's DPC algorithm, there are only two fitting parameters in each fitting. I think '2-element' are more specific.