Major refactor of the html > head > link assertions