Add `npm test`, fixes travis testing

Hi,

In fact travis doesn't check anything... so I added `npm test`.

Cheers,
Vincent