rewrite: tests: get tests working as expected on travis