Unit tests for ServerSession.