Added tests for MeasurementHistory and measService.