add test for clicking links