Updated for #2091

This tests direct value modifications in the session bag as described in #2091