Added test to repl engine controller