test getdistancebyothers