Test on linking the keypoints