I finished IsSelfOrChild() test function. While i did the testing I notised that we have old function Flatten() in hierarchy that needs to be removed.Atm the function returns empty vector.