wiring up tests for thread-local chain execution context