Fix generated generator test errors.