More Tests 

is(
  $formatter->format("one two three fourfivesix"),
  "one two\nthree\nfourfiv-\nesix",
  'long word was broken correctly'
);