fix compile error
add one test case