Add a polyfill for Math.log2 and add more tests for the functions in the public API.