Trigger iteration in GLib.MainContext before switching to next test
Ref: teams/automation/issues#9 (closed)