Test for number with isNaN