Its better to move all this RAT functionality to a different script in dev (say, check-license, which will subsume acquire_rat_jar) and run_test will simply call that script. This keeps this run_test script simple.