added two test cases