Fix testscript