Implement PostgreSQL tests