Modify test scripts