add tests to detect interference between directory iterators, in response to reported Mac OS X problems with readdir.