src: linked: added link_set for a particular index
test: update tests