Fixed and tested exceptions control context manager.