add unit/integrted tests for dpc

Can this be rename `rows` -> `scan_rows`, same with `cols` ?