fixed error concerning removal of testscripts