text: Title: bump pytest version
  Body: one of the test yield this warning`DeprecationWarning: You're using an outdated version of pytest. Newer releases of pytest-asyncio will not be compatible with this pytest version. Please update pytest to version 7 or later.
    warnings.warn(`
  
  we should update our pytest version in v2
  