Fix script test mistakes.