Update async-tests.ts

Corrected forEach* APIs to each*