Pulled out stackless calls from tests.