Fix unit tests issues with postgres