jq: add test

Closes #26703.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>