Adds travis.yml file
Fixes tests and configures travis.yml file