save contextmanager output directly in session_data, instead of 'as' field
test for contextmanager output
set_context_manager must actually take context managers