Fixed PG unittests

Also bumped postgresql-simple requirement to match the one in persistent-postgresql