Remove the need for psycopg2 in test

Doesn't seem to be used or necessary anywhere, AFAICT.