Fix UT for MetricType
Remove dead code
Merge branch 'master' of github.com:akeneo/pim-community-dev