corrected test script for self-resubmission