A/B unit testing in JavaScript / node.js