Method of initializing REPL in the test:
app.Repl();
REPL
 