I am new to unit testing in Python. I am trying to test my functions that call psycopg2 methods to interact with a Postgresql database. I am able to mock the database connection