reorganize Json unit tests