fate: add an option to generate the references

Useful to add or update fate tests.