Updated .travis.yml
Added tests.