Added test case for JSONLoader