Added test for the integral mentioned in the issue.