Fixing broken testListDirs.