Added Tests related to AncestorsService

Bug fix in Vertex and InheritanceService: check of components().
Performed with Nicolas Feybess