Fix parent child relationship in the entities and added tests i the integration tests