tests for repl

Not really testing the very repl that's exposed to the users who just
run scala from the command line, because SBT does heavy wrapping, but well
that's the best that we can have.