added tests for json module