Add integration tests and .travis.yml