Fix infinite reload loop running tests

(just a guess at the fix; arbesfeld to fix the fix if necessary)