Add tests, run them in .travis.yml