Added test for deleting child and parents relationship parent