add extra unit tests (infinity / NaN)