Added test for JSON