test scripts: spectral