Support npm script for test

I supported `npm test` to run tests for cli.
Merge pull request #12 from tricknotes/npm-test

Support npm script for test