Tests for anchors and aliases when tag is whitelisted