test isnan, isinf