fix tests for overflow errors

Merged Ghost User requested to merge minor_fixes_for_axis2 into master

Merge request reports