More complex tests for text output