fix self link tests