add device wrapper and iocp test