Improve coverage of possible error states from z_sendmany. Refactor qa test for z_sendmany operations.