Updated is_finite/infinite/nan tests