DOC: add guidelines for using test generators in HACKING

[ci skip]