separated tests and a repl