fix(mapping): testcases for arithmetic overflow/exception on history update

related to CAM-1346