added simple test for repl