Added golden tests that check printed output, not values.
Self-review.