add unit/integrted tests for dpc

Can this be called `scan_xstep` and `dy` called as `scan_ystep`