Add some tests for json types.