More tests for extractMetric