Adding tests to repl engine view model