Add tests for formatOutput and formatOutputColored by using the same lines as the line parser uses for testing.