You should probably add a test for `NaN` as well.