Added JsonTest for test purpose. This will be changed because JsonTest should be built if enable-test is set.