Fix wrong test in test_trigonometric.
Merge pull request #2631 from jrioux/tests

Fix wrong test in test_trigonometric.