function finalizeMeasurement(name) {

        name = toMeasurementId(name);

        if (activeTests[name]) {
            delete activeTests[name];
        }

        if (updatableTests[name]) {
            delete updatableTests[name];
        }
    }
Remove timer from lists so next action starts a new measurement

updateMeasurement may not have been called, so timer may be
in either or neither list, but should never be in both.

@param {string} name  Timer name.