move NUM_SESSION_KEYS into TestClient