fix test for links