Tests: A better attempt to fix a test breaking on Travis