Add export to TEST_FILE in run-tests-from-scratch