adds npm test for travis