configure the number of expected messages

Link: https://github.com/GeneAssembly/biosal/issues/56
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>