tests closeTo() Math.log()