Now that the formatter bit is split out, it is possible to test that it produces the expected message.