Re #9390 Added test with 2 spectra at the same distance