full test coverage
add compatibility shim for node version lacking eio - closes #1 and #2