fix Ration Test bug