Update doc task. [ci skip]
add test cases [ci skip]