fix test issues introduced by 111b91
add travis-ci
fix error in travis config