Fixed test for postgres