add repl test.
Merge pull request #37 from stream1984/repl-test

add repl test.