The Metadata handling in metrics calculators (`MetadataMetrics`) implemented by @tracyscanlon is currently not properly tested. Add to tests.