test on sinewave