Change tests in node.js to be receivable options