[numeric]add test for NaN/isNaN
[Triangle]fix test for empty bbox