FrequencySpectrum: Squelch print statements and add a test.