code: def test_corpus_save_and_load(self, corpus, tmpdir, lang_en):
      filepath = str(tmpdir.join("test_corpus_save_and_load.bin"))
      corpus.save(filepath)
      loaded_corpus = Corpus.load(lang_en, filepath)
      assert isinstance(loaded_corpus, Corpus)
      assert len(loaded_corpus) == len(corpus)
      assert loaded_corpus.spacy_lang.meta == corpus.spacy_lang.meta
      assert (
          loaded_corpus.spacy_lang.pipe_names
          == corpus.spacy_lang.pipe_names
      )
      assert corpus[0].user_data == loaded_corpus[0].user_data
  
imports: import collections
  import itertools
  import numpy
  import pytest
  from spacy.tokens import Doc
  from textacy import Corpus
  from textacy import load_spacy_lang
label_desc: Use image node_id 11 for calling the TestCorpusMethods obj's underlying member method code with example usage: obj.test_corpus_save_and_load(corpus, tmpdir, lang_en) without return types