Test case for JSON.stringify, see #121