Add cumulative measurements test.