         getScheduledActivitiesForGuid_scheduledTo = scheduledTo
         getScheduledActivitiesForGuid_cachingPolicy = policy
         
-        DispatchQueue.main.async {
+        taskQueue.async {
             completion(self.getScheduledActivitiesForGuid_Result[activityGuid], self.getScheduledActivitiesForGuid_Error[activityGuid])
         }
         


class TestActivityManager : NSObject, SBBActivityManagerProtocol {
    
    // MARK: getScheduledActivities
    
    var getScheduledActivities_Result: [SBBScheduledActivity]?

        getScheduledActivities_daysBehind = daysBehind
        getScheduledActivities_cachingPolicy = policy
        
        taskQueue.async {
            completion(self.getScheduledActivities_Result, self.getScheduledActivities_Error)
        }
        
