completed all test cases