More tests for PostgreSQL