Fixing and testing overflow bit