Allow augmentation of test session state

Useful e.g. to add a 'stubfile' path in a custom feature context.