modified test to work in travis, added travis-ci config