Forgot to update the tests to reflect the change to the formatter

The formatter calling conventions changed slightly to allow the status
to be passed in to the formatter function.  This had to be done by
wrapping the function in a lambda, which unfortunately broke a test.
This updates the test to correct the issue.