work around a test bug in the sine generation test code