full test function json_validate/1