What made you to add `ctx.close()` for these tests?