test cases added.