yajl: add a test

Closes #27244.

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