Session: remove unit test dependency on working examples

Allows the session timeout unit tests to be run by a single test harness (#4439).