Corrected one failing test.
Failure reason: subjected to varying curve of sine wave