Finishes CDCCloudKitBackend and adds test infrastructure.