adding exhaustive tests for exp and log. The outputs in the last line are strange however