Refactoring
Fixed test and bug with duplicates in initial parents