Shell Test: can now define the key in the session constructor