you should know that the convergence of doesn't necessarily imply that is convergent. for example but the series is divergent.
Ohh.
But the integral test said that "if and only if".
Maybe it implies the convergence only when function is positive,continuous and decreasing. Right?