code: def test_load_new_json_file(self):
      new_json_filepath = os.path.join(self.temp_dir, "test.json")
      with open(new_json_filepath, "wb") as f:
          f.write(to_bytes(""))
      # Test returns empty dict for empty file
      storage = JSONStore(new_json_filepath)
      assert storage.to_dict() == {}
      # Test FileIOError if not JSON decodeable
      with open(new_json_filepath, "wb") as f:
          f.write(to_bytes("this is not json decodeable"))
      failed = False
      try:
          storage = JSONStore(new_json_filepath)
          storage.to_dict()
      except FileIOError:
          failed = True
      assert failed
  
file_path: datmo/datmo/core/util/tests/test_json_store.py
imports: from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import tempfile
  import platform
  import os
  from io import open
  from datmo.core.util.json_store import JSONStore
  from datmo.core.util.exceptions import FileIOError
label_desc: Use image node_id 7 for calling the TestJSONStore obj's underlying member method code with example usage: obj.test_load_new_json_file() without return types