Unit test for PostgreSQL updated.