test_metrics: use list for METRICS_WITH_SAMPLE_WEIGHT