fixes postgres tests