Added 'addUnitChild', 'getUnitsChildren' and 'getUnitsParents' with tests