improve tests; add .travis.yml;