Pulled out examples to make the spec more DRY.