direct comparison test for improper integrals