Add EntityIdHtmlLinkFormatterTest

Regression test to catch things like T75580.

Change-Id: Ie760640593f8877f0c3d1f9afa99f2ce625046c2