Improved testscript.