adjust tests to make them more travis CI compatible