put testrunner part into separate function; also decided to assume that
logar's program will use commandline arguments, because not assuming
that is seriously a pain. also updated hellotest.cpp to look for
commandline arguments. (will probably crash if not given one? didn't
test that.)