fix testscript