test cases made corrected