Fix tests for 3150d9f
Fix warning
Fix lib/metrics-ruby: metricsd -> metrics