Fix wrong link href; add test for it