add unit/integrted tests for dpc

Check number 10 in https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt