ADD: ability to attach dynamic state objects to the running thread/test.
These objects are bound to the context and the developer is responsible
for their lifetime; in general they will follow the lifecycle of the
context.