Adding tests and .travis.yml.