added a test with repl
beng