Added a few more unit tests for json.