text: declareUpdate();
  
  const entityCollection = "jobInfoTestEntity";
  
  const olderUri = "/" + entityCollection + "/older.json";
  const newerUri = "/" + entityCollection + "/newer.json";
  
  xdmp.documentInsert(olderUri, {"test": olderUri}, {
    permissions: [xdmp.permission("data-hub-common", "read"), xdmp.permission("data-hub-common", "update")],
    collections: entityCollection,
    metadata: {"datahubCreatedOn": xs.dateTime("2019-09-19T00:00:00")}
  });
  
  xdmp.documentInsert(newerUri, {"test": newerUri}, {
    permissions: [xdmp.permission("data-hub-common", "read"), xdmp.permission("data-hub-common", "update")],
    collections: entityCollection,
    metadata: {
      "datahubCreatedOn": xs.dateTime("2019-09-20T00:00:00"),
      "datahubCreatedByJob": "job1 job2 job3"
    }
  });
  