fixed npm test task to work with travis