fix postgres time tests