Test improvements.

 * "NaN" becomes 0 via SvIV conversion.
 * Line number where any open or die happens very unimportant.