modified travis.yml and package.json for tests