add testcases, rep

add testcases, rep