SONAR-3437 Fix UT of MeasurePersister