Unit tests for modules/io.js. WIP.