test cases passed.