clean up npm test to work with travis ci