update healtest to loop over pairs of points