test modified to check properties of the context managers: preserved current_url, exceptions propagated