Merge pull request #2631 from jrioux/tests

Fix wrong test in test_trigonometric.