Is there any way to verify that it completes synchronously in this case?

And if so, maybe add a test where all of 'functions' are sync, to verify that those cases also complete sync...