add .travis.yml, some test tweaks