code: def test_move_unknown_terms_to_local_filter():
      (
          terms,
          new_filter,
      ) = neurovault._move_unknown_terms_to_local_filter(
          {"a": 0, "b": 1}, neurovault.ResultFilter(), ("a",)
      )
  
      assert terms == {"a": 0}
      assert not new_filter({"b": 0})
      assert new_filter({"b": 1})
  
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 35 for calling a global function with example usage: test_move_unknown_terms_to_local_filter() without return types