Added Json test.

Not much, but it's something.

#2660