Added NaN test