Update pollyfills and add tests for pollyfills.