On some convergence tests for series and integrals