run tests in node
ensure interval is cleared
also test duplex style ws streams
separate test scripts
export duplex style by default