added Repl creation and call to run to test.