[ET Trac] #2071: Correct and clean up variable declarations in RunTestUtils