Add travis and some test coverage.