Added contents check for all PostgreSQL tests