code: def test_get_lots_of_nns():
      f = 10
      i = AnnoyIndex(f, "euclidean")
      i.add_item(0, [random.gauss(0, 1) for x in range(f)])
      i.build(10)
      for j in range(100):
          assert i.get_nns_by_item(0, 999999999) == [0]
  
imports: import pytest
  import random
  from annoy import AnnoyIndex
label_desc: Use image node_id 2 for calling a global function with example usage: test_get_lots_of_nns() without return types