added travis.yml file
added tests