Fix tests in node.js [correct detachMediaStream]