updated postgres tests