corrected testcases