As lunar introduces python3.11, psycopg2 version needs to be at least
version 2.9.5 to support it.
Modify the tests to run on Lunar and remove the Kinetic ones.
Closes-Bug: #2025983
Change-Id: Iaf459368a092f09d3455b014289eca6e7bf4d047
Signed-off-by: David Negreira <david.negreira@canonical.com>