Put test root directory (containing per-test directories) in TMPDIR rather than current directory, so it can be automatically scavenged, kept in ramdisk, etc. Remove test root directory through atexit rather than from test runner. Remove some code for managing them.