fn init_script_cmd( cmd: &mut TestCommand, project_root: &Path, target_contract: &str, endpoint: Option<&str>, )