private MasterSnapshotObserver getMasterSnapshotObserver() {
    return TEST_UTIL.getHBaseCluster().getMaster().getMasterCoprocessorHost()
      .findCoprocessor(MasterSnapshotObserver.class);
  }
Setup Cluster with appropriate configurations before running tests.
@throws Exception if starting the mini cluster or setting up the tables fails
hbase-backup/src/test/java/org/apache/hadoop/hbase/backup/TestBackupDeleteWithFailures.java