add test for index link