swh-journal: Add tests
With the current ongoing work on tests and ci, it'd be a shame not to have some on that part of the stack as well.
Note: pifpaf which got introduced in that regards seems to support kafka
Migrated from T1276 (view on Phabricator)