repl tests in makefile, and shadow test for repl