Test the query, not the stringified JSON