Unittest now uses FLAGS
Metric key should be identical when it has same namespace, name,
dimensions, project_id.