add unit/integrted tests for dpc

Can you give both of these more descriptive names?  maybe `phase` and `amplitude` ?