def METHOD_NAME(cluster_data):
    """Test loading entity with other nested entities."""
    entity = load_entity(cluster_data)
    assert isinstance(entity, OCPCluster)
    assert isinstance(entity.errors, dict)
    assert isinstance(entity.errors["foo"], OCPError._model_class)