Add npm test for travis