fixed test for Postgres