Fix schedulementagreement test