Emit it only once per each generator, rather than for each generated function. Also add information about which test caused it to be emitted.