exponential and logarithmic functions unit test