[server][testSessionManager] Add an assertion.