added postgres tests