code: def test_store_zero():
      f1 = fields.ID(stored=True)
      st, codec, seg = _make_codec()
      dw = codec.per_document_writer(st, seg)
      dw.start_doc(0)
      dw.add_field("name", f1, 0, None)
      dw.finish_doc()
      dw.close()
      seg.set_doc_count(1)
  
      sr = codec.per_document_reader(st, seg)
      assert sr.stored_fields(0) == {"name": 0}
  
imports: from __future__ import with_statement
  import random
  from array import array
  import pytest
  from whoosh import analysis, fields, formats, query
  from whoosh.compat import u, b, text_type
  from whoosh.compat import array_tobytes, xrange
  from whoosh.codec import default_codec
  from whoosh.filedb.filestore import RamStorage
  from whoosh.util.testing import TempStorage
label_desc: Use image node_id 11 for calling a global function with example usage: test_store_zero() without return types