Add REPL and its tests.