json query test and test file