more test coverage

fixed ramdon list in getRootDirectories