@Test
  public void testPartitionedRegionOperationsScopeDistAck() throws Exception {
    vm0.invoke(() -> createPartitionedRegion());
    vm1.invoke(this::createAccessor);
    vm2.invoke(() -> createPartitionedRegion());
    vm3.invoke(this::createAccessor);

    validatePutAndCreateAndKeySetIteratorInDatastore(vm0);
    validatePutAndCreateInAccessor(vm1);
    validateDestroyInAccessor(vm1);
    validatePutAndCreateInDatastore(vm2);
    validateDestroyInDatastore(vm2);
    validatePutAndCreateInAccessorAgain(vm3);
    validateGetAndContainsInAll();

    destroyPartitionedRegion(vm0);
    validateMetaDataAfterRegionDestroyInAll();

    vm0.invoke(() -> createPartitionedRegion());
    vm1.invoke(this::createAccessor);
    vm2.invoke(() -> createPartitionedRegion());
    vm3.invoke(this::createAccessor);

    validateBasicOpsOnDatastore(vm0);
    validateBasicOpsOnAccessor(vm1);

    destroyPartitionedRegion(vm0);
  }
This is a PartitionedRegion test for scope = D_ACK. 4 VMs are used to create the PR with and
without(Only Accessor) the DataStore.
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/PartitionedRegionAPIDUnitTest.java