correct two test cases