Fixes tests of ZMQPeriodicReceiver