Fixed bug in parse (unchecked overflow in the mantissa range) and added test for the case.