add unit/integrted tests for dpc

This function can be condensed to

```python
return minimize(rss, start_point, args=(ref_f, f), method=solver, tol=tol,
                  options=dict(maxiter=max_iters))[:2]
```

At which point you could just use that directly in `dpc_runner` and save a function call for every iteration.