Fix continuation test not running on main thread