add testcase and documentaion
add testcase and documentaion