make npm test pass

run `npm test` will be an error.