test of postgres dataload now works. Needs a littel cleanup