contextmanagertests