did you want to move this method (along with the addConflictedDocument... method) to the CloudantSyncTest base class, or to another delegate/helper class? Is that the reason for the toDatastore: variable?