TST: dateutil fixes (GH8639)