Basic tests added for JSONObject and JSONArray.