fixed unit tests for async download action.