Testing Connection->getSession.