minor refactoring of Can_Avoid_Duplicate_Nodes_InParallel_Adds() test
added disposal list to dispose streams when iterating nodes and edges + some minor refactorings