Remove unused link components in unittest according to post commit comments.
mentioned in commit ad83bed2