Modified runtests so it uses the standard argparse module (rather than cmdline).