Test refactor for async break and continue