Minor: add (passing) test case for NaN.