make test.js work for node-getopt