How to test a GenServer?

Good! Thanks for the feedback!

I do use Broadway, but unfortunately I can’t use its acknowledger because the acks are received in the channels processes asynchronously and not in Broadway’s callbacks (How to acknowledge a Broadway message asynchronously?)