bug-22053: Fix segfault in jal_subscribe unit tests