pls add a test with some ``NaN`` in it.