fix testcase for father
add testcase for checkPath