Test on mass spectra