Temp fix for testCheckDirs