Fix test. MSVC doesn't have definition of NAN. So use quiet_NaN, infinity.
Merge pull request #43 from mattn/fix_test

Fix test. MSVC doesn't have definition of NAN