Merge "Add unit test ValueMetricProducer on boundary" into pi-dev