Unit test for MetricResult's result method