add tests for is.nan