code: def test_append_filters_to_query():
      query = neurovault._append_filters_to_query(
          neurovault._NEUROVAULT_COLLECTIONS_URL, {"DOI": 17}
      )
  
      assert query == "https://neurovault.org/api/collections/?DOI=17"
  
      query = neurovault._append_filters_to_query(
          neurovault._NEUROVAULT_COLLECTIONS_URL, {"id": 40}
      )
      assert query == "https://neurovault.org/api/collections/40"
  
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 11 for calling a global function with example usage: test_append_filters_to_query() without return types