TestFramework helper: Also pump the app/framework main loop.