refactor exit code 1 on test failure.
add .npmignore. minor.