Add `npm test`, fixes travis testing