Allow --run-tests to take a file argument

Makes it possible to attach to a debugger from valgrind.

Not yet there.