@After
  public void tearDown() {
    for (VM vm : asList(getVM(0), getVM(1), getVM(2), getVM(3))) {
      vm.invoke(() -> {
        PartitionedRegion.BEFORE_CALCULATE_STARTING_BUCKET_FLAG = false;
        PartitionedRegionObserverHolder.clear();
      });
    }
  }
This Dunit test class have multiple tests to tests different validations of static partitioning
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/partitioned/fixed/FixedPartitioningDUnitTest.java