[MRG] Cosmetic improvements to test_metrics

Trivial; happy to merge with a single +1.