Fix false InteractionMachine.attach() api.on_inbound_event test