Add unit test for MessageUtils.addMissingTargetToAnchors()