More fixes for node.js/tests.