Use heredocs for assert_generates comment tests