Added Travis CI tests, made work better.