read_keypoints for tests