Refix postgres tests

Please wait for tests to run here.