Use npm-scripts to run test

* https://www.npmjs.org/doc/misc/npm-scripts.html