changed test to repl