To json tests