Add postgres tests