Fixed failing timestamp test on postgres