test(script): Rewrite test.sh
test(script): Rewrite test.sh

* Catch errors to report back to npm
* Don't submit lcov.info on failure
* Include eslint in user test

fvdm/nodejs-dotest,fvdm/nodejs-dotest