more regression tests for edge cases of comparing ints converted to VariantValues and with JSON reader/Writer