add support for Travis CI
improve test coverage