style changes for contextmanager test