message_multiplexer: reinstate the test loop from d112b91

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>