New function f(x) = 1 / (x + 1) with test