tests now working with postgres