Run tests in Travis CI

* .travis.yml add
* tests fixed to pass on travis VM

based on commits from #139