in reply to Test-specific members
I would not test text output directly, but generate some raw data and then create a report on them afterwards.
This would simplify your tests very much as you could create some expected structures in various scenarios and your expected data would be much simpler (no formatting, etc.).