Adds `npm test` and travis.yml

Fixes #136