json before testing