added npm test for travis