corrected pb in datayield + add corrections on tests