Added test for valueEncoding:'json'

The option: `valueEncoding: 'json'` does not work. This test fails because it's not implemented.

Maybe the documentation can make a note of this?