add unit/integrted tests for dpc

solver : str, optional