Added travis.yml and fixed more tests