Fix the Test in async.spec.js