Add test to Folder.recursiveCheckConsistency method