Attempts to fix test failure for Travis-CI