Fix test output formatting