unit test cases added for normal case