Fix test about the new introduced ref id