Link to test factory when generating tests