Adding REPL tests for #230