Added json tests