increased test coverage for have_links matcher