moved test postgres stuff into specific postgres helper thingie