NaN fails because assert.strictEqual(NaN, NaN) throws. I completely forgot about that fact after discussing Object.is() in es-discuss so had some nice time debugging it. :)

It's not a bug in node, and you can safely remove that if you want. Should I add a trivial commit removing that?