Revert "Fix MetricNameTest."

This reverts commit 2ca733115083c3f1d728055664f957b3c38db82b.