Added unit tests for destruction of MetricConfigurations associated to CompoundMetrics