public function persist($testSessionId)
    {
        $extendedState = $this->getExtendedState($testSessionId);
        $extendedState->save();
        $this->getStorageService()->persist($extendedState->getUserId(), $extendedState->getStorageKey());
    }