add isnan test