add test case for NaN
add README