full test cases added.