tests: Fix case of having multiple points that have the max intensity.
tests: Fix case of having multiple points that have the max intensity.

DudLab/nanshe,nanshe-org/nanshe,DudLab/nanshe,jakirkham/nanshe,nanshe-org/nanshe,jakirkham/nanshe