Adding npm test for Travis support