fix the permission of the test scripts.