adds tests and travis.yml