minor improvement to the messaging integration test