add unit/integrted tests for dpc

This does not matter for _this_ function as all of this logic is in the `rss` object which is handed in.