update test coverage for links
Merge pull request #904 from drwelby/master

update test coverage for links