spectral test