def METHOD_NAME(test_image):
    src = test_image.copy()
    ref = test_image.copy()
    # introduce 2 discrepancies
    src.data[0, 0, 0] = 99
    src.data[0, 1, 2] = 99
    ref.data[0, 0, 0] = 1
    ref.data[0, 1, 2] = 1
    res = sct_labels.remove_missing_labels(src, ref)
    res_labels = {c.value for c in res.getNonZeroCoordinates()}
    ref_labels = {c.value for c in ref.getNonZeroCoordinates()}
    for c in res_labels:
        assert c in ref_labels
    assert res.data[0, 0, 0] == 0
    assert res.data[0, 1, 2] == 0