add first (complete) version of AbstractMetricTest