added test for PostgreSQL