More Tests 

is(
  $formatter->format("one two three\n\nfour five six"),
  "one two\nthree\n\nfour\nfive six",
  'paragraphs handled correctly'
);