Added exponential test function