added tests polyfill.sync, polyfill.register; 100% coverage