Added the tests for JSON parsing