Updated tests and added .travis.yml