search.js should work in node.js mocha tests or in LaunchBar