integration inifite limits fix

fixes #8171
that might be ok, but you can also move this test to the better place(s?).  E.g. Integral.is_zero - to test_is_zero (but keep references, like `assert some_test  # issue 1234`).