feature(package): add npm test for travisCI

Can be tested now using `npm test` and travisCI will automatically pick it up.
Merge pull request #9 from pgilad/patch-2

feature(package): add npm test for travisCI