add repl demo as test case
test6 check file