Issue #5829: modify LoaderTest.js for cc.async refactored.

Modify LoaderTest.js for cc.async refactored.