(DIO) Fix wrong test assertion (fix #116).
Merge pull request #117 from 130s/116_unittest_dio_for_v0.4

(DIO) Fix wrong test assertion (fix #116).