Fixed broken tests by last commit for repl.