Add test for exists with links.