Test that StringFormatter does not trim whitespace