fix testJSON