use confirm + wait_for_confirms to fix flakey test
Merge pull request #63 from hqmq/fix_flakey_test

use confirm + wait_for_confirms to fix flakey test