Refactoring of findPeak helper in FFT tests.
Refactoring of findPeak helper in FFT tests.

Aldor007/aquila,Aldor007/aquila,sav6622/aquila,synkarae/aquila,synkarae/aquila,sav6622/aquila,synkarae/aquila,zsiciarz/aquila,synkarae/Quasar,sav6622/aquila,Aldor007/aquila,synkarae/Quasar,tempbottle/aquila,zsiciarz/aquila,zsiciarz/aquila,tempbottle/aquila,synkarae/Quasar,zsiciarz/aquila,tempbottle/aquila