Updated SessionContainer tests with mocks.

All 135 tests pass.