Better JSON String Test Code