added test and travis.yml
added env variables in travis