node-tap wrapper for testing input/output functionality