adapts repl tests to changes in repl