added acquireSpectrum, freqsw and testcont