Expectation handling is generic and uses own configurations for testing
Added code review comments
Expectation protocol understands Pair message: ((a_ok, a_fail), a_event)