test: asyncPlatformFlush -> flush
test: fix tests for polyfill