code: def test_clean_newlines():
      assert " ".join(TEXT_4.split()) == DOC_4.clean
  
imports: import re
  from unittest import mock
  import pytest
  import spacy
  import numpy
  from fakeredis import FakeRedis
  from textpipe.doc import Doc, TextpipeMissingModelException, RedisIDFWeightingMismatchException
  from textpipe.wrappers import RedisKeyedVectors
label_desc: Use image node_id 6 for calling a global function with example usage: test_clean_newlines() without return types