More Tests 

is(
  $formatter->format("one two three"),
  "one two\nthree",
  'third word was wrapped correctly'
);