Test link generating