test script output fixes