code: def test_image_id_with_incorrect_registry():
      with pytest.raises(ValueError):
          tag = "docker.io/openmined/test-nginx:0.7.8"
          registry = SyftImageRegistry.from_url("localhost:5678")
          _ = SyftWorkerImageIdentifier.with_registry(tag, registry)
  
imports: import pytest
  from syft.service.worker.image_identifier import SyftWorkerImageIdentifier
  from syft.service.worker.image_registry import SyftImageRegistry
label_desc: Use image node_id 4 for calling a global function with example usage: test_image_id_with_incorrect_registry() without return types