test for links