Add npm test, and travis config