[test] fixed tests to reflect changed User.addOrUpdateExtensionValue
method signature
[fix] set extensionField reference before checking containment in the set