pub fn take_context() -> Option<TestContext>
Takes the current test context, leaving None in its place.