setup tests to run in repl