HACK around tests that depend on directory contents.