Suppress warning for MetricRegistry test.