Fixed tests - now it is running properly.
Added .travis.yml for Travis CI.