add a sample for contextmanager decorator