[BUG #7246] Minor fix in MMesure.
[BUG #7246] Adapted widget tests to use a given duration instead of a given iteration count.