Unit test for float/double isNaN() operation.