made tests work in travis-ci