Add npm test script.
Merge pull request #178 from johnmarkos/npm-test

Add npm test script.