code: def test_json_add_im_files_paths(tmp_path):
      coll_dir = tmp_path / "collection_1"
      coll_dir.mkdir()
      im_file_name = coll_dir / "image_1.json"
      with open(im_file_name, "wb") as im_file:
          im_file.write(json.dumps({"id": 1}).encode("utf-8"))
      loaded = neurovault._json_add_im_files_paths(im_file_name)
  
      assert loaded["relative_path"] == os.path.join(
          "collection_1", "image_1.nii.gz"
      )
      assert loaded.get("neurosynth_words_relative_path") is None
  
imports: import hashlib
  import json
  import os
  import re
  import stat
  from urllib import parse
  import numpy
  import pandas
  import pytest
  import requests
  from nilearn._utils.data_gen import generate_fake_fmri
  from nilearn.conftest import _rng
  from nilearn.datasets import neurovault
  from nilearn.image import load_img
label_desc: Use image node_id 33 for calling a global function with example usage: test_json_add_im_files_paths(tmp_path) without return types