adding some json decoding tests.