tweaks following tests on postgresql