test: add tests for the polyfill usage

Add `isPolyfill` tests

#3