generator now working with a mock 'Fields' object