Initial test for json conversion.
Add initial unit test.