Added some json tests.