Add test for basic REPL commands

I added a new test for many of the basic REPL commands.