finished nn_along_ray test