Fix permissions on test scripts