fixed an error in one of the PostgreSQL tests