add mock for gen_mols_param in use_generator