FrequencySpectrum.pm: Change the "More at ..." link based on the results.

Also format the code.
t/FrequencySpectrum.t: Fix tests.