add unit/integrted tests for dpc

You can pass start/stop values into `arange` which might make this a bit more readable.