add test for link