test for json adapter