Breaking out test script function from MGC
This MR breaks out the test script functionality into a separate function. This allows people to create a test script for debugging even when the job doesn't crash.
This MR breaks out the test script functionality into a separate function. This allows people to create a test script for debugging even when the job doesn't crash.