added the test for JSON_nan_bug