updated the test with json combined query