Fix parallel testing of test_earth.py