[server][testSessionManager] Add 'const' to the read only variable.