CSPACE-5845: Add null checks. Add tests for extracting refName value from an authority record and adding that value to collectionspace_core:refName.