diff --git a/R/ISOReferenceIdentifier.R b/R/ISOReferenceIdentifier.R
index 6307cfc7..06510cb5 100644
--- a/R/ISOReferenceIdentifier.R
+++ b/R/ISOReferenceIdentifier.R
@@ -20,7 +20,9 @@ ISOReferenceIdentifier <- R6Class("ISOReferenceIdentifier",
    inherit = ISOAbstractObject,
    private = list(
      xmlElement = "RS_Identifier",
-     xmlNamespacePrefix = "GMD"
+     xmlNamespacePrefix = list(
+       "19139"= "GMD"
+     )
    ),
    public = list(
      
@@ -37,8 +39,9 @@ ISOReferenceIdentifier <- R6Class("ISOReferenceIdentifier",
      #'@param xml object of class \link{XMLInternalNode-class}
      #'@param code code
      #'@param codeSpace code space
-     initialize = function(xml = NULL, code, codeSpace = NULL){
-       self$setCode(code)
+     initialize = function(xml = NULL, code = NULL, codeSpace = NULL){
+       super$initialize(xml = xml)
+       if(!is.null(code)) self$setCode(code)
        if(!is.null(codeSpace)) self$setCodeSpace(codeSpace)
      },
      
diff --git a/tests/testthat/test_ISOMetadata.R b/tests/testthat/test_ISOMetadata.R
index 71e9f894..421fa7a3 100644
--- a/tests/testthat/test_ISOMetadata.R
+++ b/tests/testthat/test_ISOMetadata.R
@@ -272,7 +272,7 @@ test_that("encoding/decoding",{
   dq <- ISODataQuality$new()
   
   #add scope
-  scope <- ISOScopeCode$new()
+  scope <- ISODataQualityScope$new()
   scope$setLevel("dataset")
   dq$setScope(scope)
   
@@ -922,7 +922,7 @@ test_that("encoding/decoding - i18n",{
   dq <- ISODataQuality$new()
   
   #add scope
-  scope <- ISOScopeCode$new()
+  scope <- ISODataQualityScope$new()
   scope$setLevel("dataset")
   dq$setScope(scope)
   
@@ -1085,7 +1085,7 @@ test_that("encoding/decoding - ISO 19115-3",{
     sms$setNumberType("sms")
     contact$addPhone(sms)
     address <- ISOAddress$new()
-    address$setDeliveryPoint("theaddress")
+    address$addDeliveryPoint("theaddress")
     address$setCity("thecity")
     address$setPostalCode("111")
     address$setCountry("France")
@@ -1180,7 +1180,7 @@ test_that("encoding/decoding - ISO 19115-3",{
   phone$setNumberType("voice")
   contact$addPhone(phone)
   address <- ISOAddress$new()
-  address$setDeliveryPoint("theaddress")
+  address$addDeliveryPoint("theaddress")
   address$setCity("thecity")
   address$setPostalCode("111")
   address$setCountry("France")
@@ -1407,7 +1407,7 @@ test_that("encoding/decoding - ISO 19115-3",{
   md2 <- ISOMetadata$new(xml = xml)
   xml2 <- md2$encode()
   
-  elapsed_with_print_comparator <- system.time(expect_true(ISOAbstractObject$compare(md, md2)))[["elapsed"]]
+  elapsed_with_print_comparator <- system.time(expect_true(ISOAbstractObject$compare(md, md2)))[["elapsed"]] #NOT OK FOR NOW, issue With Telephone
   setGeometaOption("object_comparator", "xml")
   elapsed_with_xml_comparator <- system.time(expect_true(ISOAbstractObject$compare(md, md2)))[["elapsed"]]
   setGeometaOption("object_comparator", "print")