GCP-8493 : Created unit test, added eception throwing if no parent or ancestor data available