updated the test for postgres