Use the same `wait_for_event` in all tests that doesn't hold a reference to the event data tuple and handles repeat events. Also fix a few misc reliability issues around timeouts and sequencing. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Updates the tests to use non-bitmask events, event renames, as well as some of the new completion events to improve reliability of the tests.